package cnki.entity;

import java.sql.Timestamp;

/**
 * @author: Han
 * @date: 2018/9/28 15:36
 * @dscription: 期刊信息实体
 */
public class PeriodicalInfoEntity {
    private int id;
    private String name;
    private String homePage;
    private String pubtype;
    private String pcode;
    private String baseid;
    private String issue;
    private String cif;
    private String aif;
    private String issn;
    private String cn;
    private String sponsor;
    private Timestamp updateDate;
    private Timestamp createDate;

    public PeriodicalInfoEntity() {
    }

    public PeriodicalInfoEntity(String name, String homePage, String pubtype, String pcode, String baseid, String issue, String cif, String aif, String issn, String cn, String sponsor, Timestamp updateDate, Timestamp createDate) {
        this.name = name;
        this.homePage = homePage;
        this.pubtype = pubtype;
        this.pcode = pcode;
        this.baseid = baseid;
        this.issue = issue;
        this.cif = cif;
        this.aif = aif;
        this.issn = issn;
        this.cn = cn;
        this.sponsor = sponsor;
        this.updateDate = updateDate;
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "PeriodicalInfoEntity{" + "id=" + id +
                ", name='" + name + '\'' +
                ", homePage='" + homePage + '\'' +
                ", pubtype='" + pubtype + '\'' +
                ", pcode='" + pcode + '\'' +
                ", baseid='" + baseid + '\'' +
                ", issue='" + issue + '\'' +
                ", cif='" + cif + '\'' +
                ", aif='" + aif + '\'' +
                ", issn='" + issn + '\'' +
                ", cn='" + cn + '\'' +
                ", sponsor='" + sponsor + '\'' +
                ", updateDate=" + updateDate +
                ", createDate=" + createDate +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPubtype() {
        return pubtype;
    }

    public void setPubtype(String pubtype) {
        this.pubtype = pubtype;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getBaseid() {
        return baseid;
    }

    public void setBaseid(String baseid) {
        this.baseid = baseid;
    }

    public Timestamp getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Timestamp updateDate) {
        this.updateDate = updateDate;
    }

    public Timestamp getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }

    public String getHomePage() {
        return homePage;
    }

    public void setHomePage(String homePage) {
        this.homePage = homePage;
    }

    public String getCif() {
        return cif;
    }

    public void setCif(String cif) {
        this.cif = cif;
    }

    public String getAif() {
        return aif;
    }

    public void setAif(String aif) {
        this.aif = aif;
    }

    public String getIssn() {
        return issn;
    }

    public void setIssn(String issn) {
        this.issn = issn;
    }

    public String getCn() {
        return cn;
    }

    public void setCn(String cn) {
        this.cn = cn;
    }

    public String getSponsor() {
        return sponsor;
    }

    public void setSponsor(String sponsor) {
        this.sponsor = sponsor;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String issue) {
        this.issue = issue;
    }
}
